package top.wangjingxin.util;

import java.io.File;

import static top.wangjingxin.config.AppConfig.ROOT;

public class DeleteUtil {
    public static boolean delete(String id){
        if(id.length()<32)
            return false;
        File file = new File(ROOT+File.separator+"resource"+File.separator+id);
        return file.delete();
    }
}
